package com.ruoyi.business.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 售卖机物品信息对象 t_smj_good_list
 * 
 * @author admin
 * @date 2024-10-24
 */
@Data
public class TSmjGoodList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 实际通道编码 */
    @Excel(name = "实际通道编码")
    private String realChannelCode;

    /** 归属机器编码 */
    @Excel(name = "归属机器编码")
    private long machineId;
    @Excel(name = "物品名称")
    private String goodName;
    /** 物品状态 */
    @Excel(name = "物品状态")
    private Integer goodStatus;

    /** 物品货道 */
    @Excel(name = "物品货道")
    private String goodHd;

    /** 物品货道 */
    @Excel(name = "物品货道")
    private String goodUrl;

    /** 物品价格 */
    @Excel(name = "物品价格")
    private BigDecimal goodPrice;

    /** 物品剩余数量 */
    @Excel(name = "物品剩余数量")
    private Long goodNum;

    /** null */
    @Excel(name = "null")
    private Long createUser;

    /** null */
    @Excel(name = "null")
    private Long updateUser;

    private  String realChannelName;

    private  String smGoodId;

    private  String payType;

    private  Long userId;

    private String userName;

    private String machineType;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("realChannelCode", getRealChannelCode())
            .append("machineId", getMachineId())
            .append("goodStatus", getGoodStatus())
            .append("goodHd", getGoodHd())
            .append("goodUrl", getGoodUrl())
            .append("goodPrice", getGoodPrice())
            .append("goodNum", getGoodNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
